package com.mrent.service;

import java.util.List;

import com.mrent.entity.Member;

public interface MemberService {
	
	/**
	 * 保存会员.
	 * 
	 * @param member
	 */
	public void saveMember(Member member);
	
	/**
	 * 修改会员.
	 * 
	 * @param member
	 */
	public void modifyMember(Member member);
	
	/**
	 * 会员列表.
	 * 
	 * @param page
	 * @return
	 */
	public List<Member> listMember(Page page);
	
	/**
	 * 获取会员.
	 * 
	 * @param memberId
	 * @return
	 */
	public Member getMember(Long memberId);
	
	/**
	 * 会员删除.
	 * 
	 * @param memberId
	 */
	public void delMember(Long memberId);
	
	/**
	 * 根据会员用户名查找.
	 * 
	 * @param memberName
	 * @return
	 */
	public Member findByMemberName(String memberName);

}
